package com.tosit.driverschool.service;

import com.tosit.driverschool.common.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

public interface UserService {
    List<User> findAll();

    User selectById(String id);

    int deleteById(String id);

    int upDate(User user);

    User selectbyId(String id);

    int add(User user);

    // User delete(String id);
}
